Get Parent Element
Command Prototype
arrElement = UiElement.GetAncestor(objUiElement,upLevels,optionArgs)
Command Description
Return the parent element of the provided child element
Parameter Description
- Required Parameter
- objUiElement--Attribute string specifying the child element
- upLevels--Specifies which level of parent elements (parent, parent of parent, etc.) to return
- Optional Parameter
- bContinueOnError--Whether to continue even if an error is thrown. This field only supports Boolean values (True, False). Defaults to False
- iDelayAfter--Added delay (in milliseconds) after executing the activity. Defaults to 300
- iDelayBefore--Added delay (in milliseconds) before the acitivity starts. Defaults to 200
- return
- arrElement--The variable to which the output of the function call is saved